/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */



/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #007AB8;
  --ifm-color-primary-dark: #138ac5;
  --ifm-color-primary-darker: #0d6d9d;
  --ifm-color-primary-darkest: #20415C;
  --ifm-color-primary-light: #5ec0f0;
  --ifm-color-primary-lighter: #97d3f1;
  --ifm-color-primary-lightest: #ccf0f7;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'],
html[data-theme='dark'] {
  --ifm-color-primary: #16AAF5;
  --ifm-color-primary-dark: #138ac5;
  --ifm-color-primary-darker: #0d6d9d;
  --ifm-color-primary-darkest: #20415C;
  --ifm-color-primary-light: #5ec0f0;
  --ifm-color-primary-lighter: #97d3f1;
  --ifm-color-primary-lightest: #ccf0f7;
  --ifm-background-color: #1E2A31;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

/* Home page */
.hero--primary {
  --ifm-hero-text-color: var(--ifm-color-content);
}

[data-theme='light'] .hero--primary {
  --ifm-hero-background-color: var(--ifm-background-color);
}

[data-theme='dark'] .hero--primary {
  --ifm-hero-background-color: var(--ifm-color-primary-darkest);
}

[data-theme='dark'] .hero--primary .button--primary {
  color: white;
}

.hero__diagram {
  margin: 2rem auto -1rem;
}

.hero__diagram svg {
  display: none;
  max-width: 100%;
}

@media screen and (min-width: 780px) {
  .hero__diagram svg {
    display: inline;
    max-width: 100%;
  }
}

.home__main {
  padding-bottom: 4rem;
}

[data-theme='light'] .home__main {
  background-color: var(--ifm-color-primary-lightest);
}

.home__main .codeHero_src-pages-index-module {
  margin-bottom: 0;
}

/* Add icons to the languages! */
a.menu__link[href*="languages/"]::before {
  padding-right: 0.5rem;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  width: 1rem;
  height: 1rem;
}

a.menu__link[href*="languages/custom"]::before,
a.menu__link[href*="languages/introduction"]::before {
  content: unset;
}

a.menu__link[href*="languages/javascript"]::before {
  background-image: url(/img/languages/js.svg);
}

a.menu__link[href*="languages/python"]::before {
  background-image: url(/img/languages/python.svg);
}

a.menu__link[href*="languages/ruby"]::before {
  background-image: url(/img/languages/ruby.svg);
}

a.menu__link[href*="languages/rust"]::before {
  background-image: url(/img/languages/rust.svg);
}

a.menu__link[href*="languages/go"]::before {
  background-image: url(/img/languages/go.svg);
}

a.menu__link[href*="languages/zig"]::before {
  background-image: url(/img/languages/zig.svg);
}
